package com.example.weatherforecast.data.city.persistence.factory

import android.content.Context
import androidx.room.Room
import com.example.weatherforecast.data.city.persistence.database.CityInfoDatabase

class CityInfoDatabaseFactory(val context: Context, val dbName: String) {

    fun getCityInfoDatabase(): CityInfoDatabase {
        return Room.databaseBuilder(context, CityInfoDatabase::class.java, dbName).build()
    }

}